package com.zoe.onelink.auth.token.authenticate;

import java.util.Map;

/**
 * <p>标题: </p>
 * <p>描述: </p>
 * <p>版权: Copyright (c) 2022</p>
 * <p>公司: 智业软件股份有限公司</p>
 *
 * @version: 1.0
 * @author: ruansheng
 * @date: 2022-05-12
 */
public interface OnelinkTokenAuthenticateCallback {

    /**
     * TOKEN 验证成功回调
     */
    void onAuthenticateSuccess(Map<String, Object> authMap);

    /**
     * TOKEN 验证失败回调
     */
    void onAuthenticateFailure(Throwable throwable);

}
